package com.wang.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.swing.*;

/**
 * @Author 19225
 * @create 2020/12/1 21:34
 */
@Component
public class User {
    public String name;

    public String getName() {
        return name;
    }

    @Value("TaoTao")
    public void setName(String name) {
        this.name = name;
    }
}
